home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _7BE6B72F729B482AB914810D3CD9BDF9 < prev    next >
Encoding:
Text File  |  2006-08-04  |  1.3 KB  |  41 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro 9',
  9.         'Host Version': u'9.00'
  10.         }
  11.  
  12. def Preset_ColorAdjustHSL():
  13.     return {
  14.         'HSL': {
  15.             'Colorize': False, 
  16.             'Master': (0,0,0), 
  17.             'MasterColorize': (0,0,0), 
  18.             'Red': (0,0,0,315,345,15,45), 
  19.             'Green': (-33,80,0,33,63,115,145), 
  20.             'Blue': (0,0,0,195,225,255,285), 
  21.             'Cyan': (0,0,0,135,165,195,225), 
  22.             'Magenta': (0,0,0,255,285,315,345), 
  23.             'Yellow': (0,0,0,15,45,75,105)
  24.             }, 
  25.         'GeneralSettings': {
  26.             'ExecutionMode': App.Constants.ExecutionMode.Default, 
  27.             'DialogPlacement': {
  28.                 'ShowMaximized': False, 
  29.                 'Rect': ((0,0), 0, 0)
  30.                 }, 
  31.             'PreviewVisible': True, 
  32.             'AutoProof': False, 
  33.             'AutoActionMode': App.Constants.AutoActionMode.Match
  34.             }
  35.         }
  36.  
  37. def Do(Environment):
  38.     # Color Adjust HSL
  39.     App.Do( Environment, 'ColorAdjustHSL',         Preset_ColorAdjustHSL())
  40.  
  41.